CC = gcc -Wall
INCLUDES = -I/usr/local/include/libxml2 -I../include/libutils -I../include
INCLUDES += -I/usr/include/libxml2
LIBS = -L/usr/local/lib -L../../build/libs/libutils/ -lxml2 -lm -lutils
CFLAGS = $(INCLUDES)

all: parserd 

.c.o:
	$(CC) -c $(CFLAGS) $<

OBJS = parserd.o

parserd: $(OBJS)
	$(CC) -o $@ $(OBJS) $(LIBS)
	
clean:
	rm *.o parserd
